package com.jinjia.ordersys.dao;

import com.jinjia.ordersys.domain.Goods;
import com.jinjia.ordersys.vo.AddGoogsVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 商品-操作接口
 * @Param:
 * @return:
 * @Author: fenghouzhi
 * @Date: 2018/10/12
 * @Time: 9:32 AM
 */
@Repository
public interface GoodsMapper {

    List<Goods> getAllGoodsForBase();

    List<Goods> getGoodsListByOrderId(Long orderId);

    void addGoodsForOrder(List<AddGoogsVo> addGoogsVoList);

    Integer updateGoodsForOrder(AddGoogsVo googsVo);

}
